<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>监察员列表</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function sbt(){
	var uid = "";
	 var obj=document.getElementsByName("caseInfoMajorInspectorId");      
	 for(var i=0;i<obj.length;i++){      
	     if(obj[i].checked){      
	          uid = obj[i].value;      
	        }	        
	 }
	 if(uid == ""){
	 	alert("请选择要转交的监察员！");
	 	return false;
	 }   
	parent.sbt(uid);
}
</script>
</head>

<body>
<form action="" name="form1" method="post">
<table width="90%" border="1">
  <tr>    
    <th width="20" align="center">选择</th>
    <th width="30%" align="center">姓名</th>
	<th width="20%" align="center">籍贯</th>
    <th width="30%" align="center">职务</th>
  </tr>
   <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
  <td><input type="radio" name="caseInfoMajorInspectorId" value="${prod.perFileId}"></td>
    <td>${prod.perFileName}</td>
	<td>${prod.perFileNativePlace}</td>
    <td>${prod.perFileDuty}</td>
  </tr>
  </c:forEach>

 </form>
  <tr>
    <td class="nohover" colspan="12" align="center">&nbsp;
    <form name="pageForm" method="post">
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
   <tr>
 	<td class="nohover" align="center" colspan="4"> <input class="buttonsubmit" type="button" value="提交" name="" onclick="javascript:if(confirm('确定将案件转交吗？')) sbt()"/>&nbsp;<input class="buttonreset" type="reset" value="重置"> <input class="buttonreturn" type="button" value="关闭" name="" onClick="javascript:window.close();"/></td>
 </tr>
</table>
</body>
</html>
